package org.idea.qiyu.live.framework.redis.starter.key;

import org.springframework.context.annotation.Conditional;
import org.springframework.context.annotation.Configuration;

/**
 * @Description: //todo
 * @Author: 张广焱
 * @Date: 2024-04-27 上午2:36
 */
@Configuration
@Conditional(RedisKeyLoadMatch.class)
public class AccountProviderCacheKeyBulider extends RedisKeyBuilder{
    private static String ACCOUNT_TOKEN_KEY ="account";

    public String buildUserLoginToken(String key){
        return super.getPrefix()+ACCOUNT_TOKEN_KEY+super.getSplitItem()+key;
    }
}
